<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<script type="text/javascript" src="jquery-1.9.1.js"></script>
<script type="text/javascript">
	$(document).ready(function(){
		$("#writeReplyBtn").click(function(){
			if($("#title").val()==""){
				alert("제목을 입력하세요!");
			}
			if($("#id").val()==""){
				alert("작성자를 입력하세요!");
			}
			if($("#content").val()==""){
				alert("글 내용을 입력하세요!");
			}
			$("#writeHelpReplyForm").submit();
		});
	});
</script>
</head>
<body>
<h1>문의하기</h1>
<font size="2">
회원님의 질문을 한 곳에 모았습니다.
<br>
Where is my Teacher을 이용하시는데 궁금하신 내용을 편리하게 검색해 보세요.
</font>
<br><br>
<center>
<h3></h3>
<table bordercolor="lightgrey" style="border-width: 0.5mm;" bgcolor="#F8F8F8">
<thead>
	<tr height="30">
	<td bgcolor="#CFCFCF" align="center"><font style="font-weight: bold;" size="4">댓글쓰기</font></td>
	</tr>
	<tr>
	<td></td>
	</tr>
</thead>
<tbody>
<tr>
<td>

<form action="writeHelpReplyForAdmin.do" method="post" id="writeHelpReplyForm">
<input type="hidden" id="reid" name="reid" value="${requestScope.hvo.reid }">
<input type="hidden" id="ref" name="ref" value="${requestScope.hvo.ref }">
<input type="hidden" id="restep" name="restep" value="${requestScope.hvo.restep }">
<input type="hidden" id="relevel" name="relevel" value="${requestScope.hvo.relevel }">
<table>
<tr>
	<td><font size="2">제목:</font></td>
	<td><font size="2"><input type="text" name="title" id="title" value="RE: ${requestScope.hvo.title}"></font></td>
</tr>
<tr>
	<td><font size="2">작성자:</font></td>
	<td><font size="2"><input type="text" name="id" id="id" value="관리자" readonly="readonly"></font></td>
</tr>
<tr>
	<td colspan="2">
	<font size="2">
<textarea rows="20" cols="50"  id="content" name="content">
${requestScope.hvo.content}
========================댓글========================
</textarea></font></td>
</tr>
</table>
</form>

</td>
</tr>
</tbody>
</table>
<br>
<a href="support.do"><input type="button" value="고객센터"></a>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;

<input type="button" id="writeReplyBtn" value="확인">
<a href="helpList.do"><input type="button" value="취소"></a>
</center>
</body>
</html>